package com.yunshang.shoppingmall.mapper;

import com.yunshang.shoppingmall.entity.Share;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface ShareMapper {
    int insert(@Param("share") Share share);

    int updateByPrimaryKey(@Param("share") Share share);

    int updateByPrimaryKeySelective(@Param("share") Share share);

    List<Share> selectShareAll();

    List<Share> selectByPrimaryKey(@Param("id") Integer id);
}